<!--src/main/resources/templates/index.html-->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人博客</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/indexstyle.css}">
</head>
<body>
<h2>个人博客</h2>
<h2 th:text="'欢迎你！！！用户 ' + ${username}">欢迎你！！！用户</h2>
<a th:href="@{/articletype/findAll}" class="btn-blue">文章类型</a>
<a th:href="@{/article/findAll}" class="btn-blue">文章</a>
<a th:href="@{/user/findAll}" class="btn-blue">用户</a>
<a th:href="@{/reply/findAll}" class="btn-blue">评论</a>
<form th:action="@{/index/logout}" method="post">
    <button type="submit" class="btn-blue">退出</button>
</form>
</body>
</html>
